package com.ocom.srvpaccess.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ocom.common.entity.access.EntityMjGroupPer;

import java.util.List;

public interface GroupPerService extends IService<EntityMjGroupPer> {

    //b)从人员门禁权限表mj_group_per找到com_id ，p_id，area_id匹配的记录，获得pergroupnum
    public List<EntityMjGroupPer> selectGroupPer(Long companyId, List<Long> pIds, Long areaId);

    public EntityMjGroupPer selectGroupPer(Long companyId,  Long pId, Long areaId);
}
